package cn.fintecher.pangolin.service.manage.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Auther: xiaqun
 * @Description: 配分角色请求
 * @Date: 15:50 2019/8/14
 */

@Data
public class DistributeRoleRequest {
    @ApiModelProperty(value = "用户ID集合")
    @NotNull(message = "userids.is.required")
    private List<String> userIds;

    @ApiModelProperty(value = "角色ID集合")
    @NotNull(message = "roleids.is.required")
    private List<String> roleIds;
}
